// models/home_model.dart
class HomeModel {
  final String title;
  final List<String> items;

  HomeModel({required this.title, required this.items});

  factory HomeModel.fromJson(Map<String, dynamic> json) {
    return HomeModel(
      title: json['title'],
      items: List<String>.from(json['items']),
    );
  }
}
